<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

        <script
            src="http://www.google.com/jsapi?key=ABQIAAAAFhj1f3SiquZyBQKjTcOZ4RT2yXp_ZAY8_ufC3CFXhHIE1NvwkxRNzilbTCr79JMXfuexe1yX3dbzHA"
        type="text/javascript"></script>
        <script language="Javascript" type="text/javascript">
            //<![CDATA[
            google.load("jquery", "1.4.2", {uncompressed:true});
            google.load('gdata', '2.2');
            google.setOnLoadCallback(OnLoad);

            function OnLoad() {
                alert($().jquery);
            }

            //jQuery.noConflict();

            /*function doGCodeSearch(){
                alert("doGCodeSearch")
                jQuery.ajax({
                   url: "http://www.google.com/codesearch/feeds/search",
                   processData: false,
                   data: "q=def file:\.scala&max-results=1&v=2",
                   async: true,
                   timeout: 10000,
                   success: function(msg){
                     alert( "response=`" + msg );
                   }
                 })
            }*/

            //]]>
        </script>
        <!--        <script
        src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>-->

        <title>codesearch</title>
    </head>
    <body>
        <h3><a target="_blank"
               href="http://code.google.com/apis/codesearch/"><img width="16" alt=""
                                                                src="http://code.google.com/apis/codesearch/images/gdata-code.png"/>&nbsp;codesearch</a></h3>

        <div>
            <input type="button" title="mybutton" value="mybutton" onclick="doGCodeSearch();"/>
        </div>

    </body>
</html>
